<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<script type="text/javascript" src="/fhl/Public/Admin/Js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/fhl/Public/Admin/Js/index.js"></script>
<link rel="stylesheet" href="/fhl/Public/Admin/Css/public.css" />
<link rel="stylesheet" href="/fhl/Public/Admin/Css/index.css" />
<link rel="stylesheet" href="/fhl/Public/Admin/Css/page.css" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<!--<base target="iframe"/>-->
<head>
</head>
<body>
<title>许愿列表</title>
<block name="top_menu">
	<div id="top">
		<div class="menu">
			<a href="<?php echo U(Admin/Index/index);?>">首页</a>
			<a href="<?php echo U('Wish/index');?>">内容</a>
			<a href="#">选择按钮</a>
			<a href="#">选择按钮</a>
			<a href="#">选择按钮</a>
		</div>
		<div class="exit">
			<a href="<?php echo U(logout);?>" target="_self">退出</a>
			<a href="http://bbs.gxsdxy.cn" target="_blank">获得帮助</a>
			<a href="http://www.gxsdxy.cn" target="_blank">后盾网</a>
		</div>
	</div>
    
	<div id="left">
		<dl>
			<dt>功能标题</dt>
			<dd><a href="#">功能标题</a></dd>
			<dd><a href="#">功能标题</a></dd>
			<dd><a href="#">功能标题</a></dd>
			<dd><a href="#">功能标题</a></dd>
			<dd><a href="#">功能标题</a></dd>
			<dd><a href="#">功能标题</a></dd>
		</dl>

	</div>
    

        <div id="right">
            
    <table>
        <tr>
        <h1>
            <td>ID</td>
            <td>许愿者</td>
            <td>许愿内容</td>
            <td>许愿时间</td>
            <td>操作</td>
        </h1>            
        </tr>
    <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
            <td><?php echo ($vo['id']); ?></td>
            <td><?php echo ($vo['username']); ?></td>
            <td><?php echo ($vo['content']); ?></td>
            <td><?php echo (date("Y-m-d H:i",$vo['time_at'] )); ?></td>
            <td>
                <span><a href="#">修改</a></span>
                <span><a href="#">删除</a></span>
            </td>
        </tr><?php endforeach; endif; else: echo "" ;endif; ?>    
    </table>
    <p class='page'><?php echo ($page); ?></p>

		<!--<iframe name="iframe" src="#"></iframe>-->
	</div>
</body>
</html>